#!/bin/bash

my_ip=`cat /etc/localhost`
mkdir -p /home/typecast/results/logs
echo "Raw packet log is aved in /home/typecast/results/logs/tcpdump.$my_ip"
tcpdump -w /home/typecast/results/logs/tcpdump.$my_ip ip multicast and ether src `./print_mac.pl` and not dst net 255.255.255.255
 



